﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH5_2011A.Domain.Order
{
    /// <summary>
    /// 订单明细表(和商品相关的)
    /// </summary>
    [Table("tb_order_detail")]
    public class OrderDetailModel  : AuditField<Guid>
    {
        //收银
        //订单编号12345这笔订单，一共买了4件商品

        public string OrderNo { get; set; }
        public Guid ProductId { get; set; }
        public string? ProductName { get; set; }
        public decimal ProductPrice { get; set; }
        public int ProductNumber { get; set; }
        public string? ProductImage { get; set; }
        public string? State { get; set; } = "0";

    }
}
